package com.csu.tingtian.common;


import lombok.Getter;

//枚举
@Getter
public enum ResponseCode {

    OVERDUE(1002,"OVERDUE"),
    ILLEGAL_ARGUMENT(20,"ILLEGAL_ARGUMENT"),        //客户端给的参数是否正确
    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR");

    private final int code;
    private final String description;

    ResponseCode(int code,String description) {
        this.code = code;
        this.description = description;
    }
}
